import { VitePWA } from 'vite-plugin-pwa'

export default function configPwaConfig() {
  return VitePWA({
    manifest: {
      name: '特药框架',
      short_name: '特药框架',
      icons: [
        {
          src: './resource/img/pwa-192x192.png',
          sizes: '192x192',
          type: 'image/png'
        },
        {
          src: './resource/img/pwa-512x512.png',
          sizes: '512x512',
          type: 'image/png'
        }
      ]
    }
  })
}
